package com.wanglei.ssm.dao;

import com.wanglei.ssm.domain.Member;
import org.apache.ibatis.annotations.Select;

/**
 * 会员数据操作对象
 *
 * @author wl
 */
public interface MemberDao {

    /**
     * 根据会员id查询会员信息
     *
     * @param id 会员id
     * @return 会员信息
     * @throws Exception e
     */
    @Select("select * from member where id = #{id}")
    Member findById(String id) throws Exception;
}
